﻿using LJ.StreamSystem.Data;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace LJ.StreamSystem.LazyHare;


public class AggregateStreamSystemMessage(IDictionary<string, string?> headers)
{
    public IDictionary<string, string?> Headers { get; } = headers;

    public object? Value { get; set; } 

    public object? SummaryValue { get; set; }
    
    public string GetApplicationId()
    {
        return Headers[StreamSystemHeaders.ApplicationId]!;
    }
}